package com.wangyb.multitenant.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: wangyb
 * @Date: 2021/6/23 9:57 上午
 */
@Api(value = "测试scrm", tags = {"测试管理"})
@RequiredArgsConstructor(onConstructor_ = @Autowired)
@RestController
@RequestMapping("/wangyb/scrm")
public class ScrmController extends BaseController {

	/**
	 * 查询测试列表
	 */
	@ApiOperation("scrm列表")
//	@PreAuthorize("@ss.hasPermi('demo:test:list')")
	@GetMapping("/list")
	public AjaxResult list(){
		return AjaxResult.success();
	}
}
